package com.localjoycommunity.cpdj.project.system.domain;

import com.localjoycommunity.cpdj.framework.aspectj.lang.annotation.Excel;
import com.localjoycommunity.cpdj.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 团支部对象 league_branch
 *
 * @author aqie
 * @date 2020-11-04
 */
public class LeagueBranch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 团支部名称 */
    @Excel(name = "团支部名称")
    private String name;

    /** 覆盖单位 */
    @Excel(name = "覆盖单位")
    private String coverUnit;

    /** 党员数量 */
    @Excel(name = "党员数量")
    private Long partyMemberNum;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCoverUnit(String coverUnit)
    {
        this.coverUnit = coverUnit;
    }

    public String getCoverUnit()
    {
        return coverUnit;
    }
    public void setPartyMemberNum(Long partyMemberNum)
    {
        this.partyMemberNum = partyMemberNum;
    }

    public Long getPartyMemberNum()
    {
        return partyMemberNum;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("coverUnit", getCoverUnit())
            .append("partyMemberNum", getPartyMemberNum())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
